package com.ali.config;

import com.ali.service.FinanceService;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * 学生静态代理类
 */
@Slf4j
@Data
public class FinanceServiceProxy implements FinanceService {
    private FinanceService financeService;

    @Override
    public void payoff(String name) {
        financeService.payoff(name);
        log.info("银行收集工资，统一发放");
    }
}